home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol E-12
/
(Vol E-12) May 21 2012.iso
/
Animations
/
dj
/
dj.swf
/
scripts
/
__Packages
/
mx
/
controls
/
streamingmedia
/
ToStartButton.as
< prev
next >
Wrap
Text File
|
2012-05-21
|
879b
|
30 lines
class mx.controls.streamingmedia.ToStartButton extends MovieClip
{
function ToStartButton()
{
super();
this.init();
}
function init()
{
this.attachMovie("SimpleButton","toStartSimpleButton",1,{falseUpSkin:"ToStart-False-Up",falseOverSkin:"ToStart-False-Over",falseDownSkin:"ToStart-False-Down",falseDisabledSkin:"ToStart-False-Disabled"});
this.toStartSimpleButton.addEventListener("click",this);
var _loc2_ = this._parent._parent;
this.__set__enabled(_loc2_.enabled);
this.tabEnabled = false;
this.tabChildren = true;
}
function get enabled()
{
return this.toStartSimpleButton.enabled;
}
function set enabled(is)
{
this.toStartSimpleButton.enabled = is;
}
function click(ev)
{
this._parent._parent.broadcastEvent("playheadChange",0);
}
}